PART
{
	name = AtmosphericIRSUMk1.5
	module = Part
	author = CrashAndBurn
	rescaleFactor = 1
	node_stack_top = 0.0, 0.9375, 0.0, 0.0, 1.0, 0.0
	node_stack_bottom = 0.0, -0.9375, 0.0, 0.0, -1.0, 0.0
	node_attach = 0.0, 0.0, -0.625, 0.0, 0.0, 1.0, 1
	TechRequired = highAltitudeFlight
	entryCost = 4200
	cost = 720
	category = Aero
	subcategory = 0
	title = Atmospheric ISRU
	manufacturer = Avalon Astronautics
	description = Following recall of all prototype oxidizer-to-air converters sue to the finding that they had no use, jet engines will not work in space even with a supply of gaseous air. Avalon Astronautics has, yet again, amazed all with their newest invention, which is an air-oxidizer magnitudes more advanced than their previous model! The future of easy to make, high cargo capacity SSTOs is even closer!
	attachRules = 1,1,1,1,0
	mass = 0.5
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.3
	angularDrag = 2
	crashTolerance = 10
	breakingForce = 50
	breakingTorque = 50
	maxTemp = 3000 // = 3000
	thermalMassModifier = 2.0
	fuelCrossFeed = True
	bulkheadProfiles = size1, srf
	tags = aero (air oxidizer airplane breathe flight irsu inlet jet oxygen plane propellant suck 
	MODEL
	{
		model = Avalon Astronautics/Parts/Utility/Converters/AtmosphericISRU
	}
	MODULE
	{
		name = ModuleResourceIntake
		resourceName = IntakeAir
		checkForOxygen = true
		area = 0.0061
		intakeSpeed = 12
		intakeTransformName = Intake
		machCurve
		{
			key = 0 0.9 0 0
			key = 1 1 0 0
			key = 1.5 0.95 -0.1608955 -0.1608955
			key = 3 0.6 -0.4034287 -0.4034287
			key = 5 0.01 0 0
		}
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 2
		maxAmount = 2
	}
	RESOURCE
	{
		name = Oxidizer
		amount = 200
		maxAmount = 200
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = IntakeFuselageHeat
	}
MODULE
	{
		 name = ModuleResourceConverter
		 ConverterName = Ox Condenser
		 StartActionName = Start ISRU [Ox Condenser]
		 StopActionName = Stop ISRU [Ox Condenser]	 
		AutoShutdown = false
		TemperatureModifier
		{
			key = 0 100000
			key = 750 50000
			key = 1000 10000
			key = 1250 500	
			key = 2000 50	
			key = 4000 0
		}				
		GeneratesHeat = true
		DefaultShutoffTemp = .8
		ThermalEfficiency 
		{
			key = 0 0 0 0
			key = 500 0.1 0 0
			key = 1000 1.0 0 0
			key = 1250 0.1 0 0
			key = 3000 0 0 0 
		}


		UseSpecialistBonus = false
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		Specialty = Engineer
		EfficiencyBonus = 1

		 
		 INPUT_RESOURCE
		 {
			ResourceName = IntakeAir
			Ratio = 0.15
			FlowMode = STAGE_PRIORITY_FLOW
  		 }
		 INPUT_RESOURCE
		 {
			ResourceName = ElectricCharge
			Ratio = 15
		 }
		 OUTPUT_RESOURCE
		 {
			ResourceName = Oxidizer
			Ratio = 2.75
			DumpExcess = false
			FlowMode = STAGE_PRIORITY_FLOW
		 }
	}

}
